* {
  padding: 0;
  margin: 0;
}
body,
html {
  width: 100%;
  height: 100%;
  background: url('/assets/images/login_bg.jpg');
  background-size: cover;
}
.layui-main {
  width: 1200px;
  margin: 20px auto;
}
.loginAndRegBox {
  width: 400px;
  height: 310px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* form */
}
.loginAndRegBox .title-box {
  height: 60px;
  background: url('/assets/images/login_title.png') no-repeat center;
}
.loginAndRegBox .layui-form {
  padding: 0  30px;
}
.loginAndRegBox .layui-form .layui-form-item {
  position: relative;
}
.loginAndRegBox .layui-form .layui-form-item .layui-icon {
  position: absolute;
  top: 10px;
  left: 5px;
}
.loginAndRegBox .layui-form .layui-form-item input {
  padding-left: 30px;
}
.loginAndRegBox .layui-form .registerA {
  float: right;
}
